package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;
import jakarta.servlet.http.HttpServletResponse;

import java.time.LocalDate;

public interface ReportService {
    /*
     * 统计指定时间区域内的营业额
     * */
    TurnoverReportVO getTurnoverStatistics(LocalDate begin, LocalDate end);

    /*
     * 统计指定时间区域内的用户数据
     * */
    UserReportVO getUserStatistics(LocalDate begin, LocalDate end);

    /*
     * 统计指定时间区域内的订单统计
     * */
    OrderReportVO getOrderStatistics(LocalDate begin, LocalDate end);

    /*
     * 统计统计销量排行top10
     * */
    SalesTop10ReportVO getSalesTop10(LocalDate begin, LocalDate end);

    /*
     *导出运营数据报表
     * */
    void exportBusinessDate(HttpServletResponse response);
}
